﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("Category")]
    public class Category:BaseDomain
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 上级类型
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        [StringLength(255)]
        public string Keywords { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? OrderNo { get; set; }
      
    }
}
